package com.eshin;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.eshin.atuoconfig.HelloWorld;

@RestController
//@EnableAutoConfiguration
@RequestMapping("/testhello")
public class TestHello {
	@Autowired
	HelloWorld helloWorld;
//	
	
	 @RequestMapping("/hello")  
	    public String index() {  
	        return helloWorld.sayHello();
	    } 
}
